﻿<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp">
  <head>
    <title>Program Class</title>
    <link rel="stylesheet" type="text/css" href="../styles/presentation.css" />
    <link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" />
    <script type="text/javascript" src="../scripts/script_prototype.js"> </script>
    <script type="text/javascript" src="../scripts/EventUtilities.js"> </script>
    <script type="text/javascript" src="../scripts/StyleUtilities.js"> </script>
    <script type="text/javascript" src="../scripts/SplitScreen.js"> </script>
    <script type="text/javascript" src="../scripts/ElementCollection.js"> </script>
    <script type="text/javascript" src="../scripts/MemberFilter.js"> </script>
    <script type="text/javascript" src="../scripts/CollapsibleSection.js"> </script>
    <script type="text/javascript" src="../scripts/LanguageFilter.js"> </script>
    <script type="text/javascript" src="../scripts/CookieDataStore.js"> </script>
    <meta name="file" content="T_mcopy_Program" />
    <xml xmlns:msxsl="urn:schemas-microsoft-com:xslt">
      <MSHelp:Attr Name="AssetID" Value="T:mcopy.Program" />
      <MSHelp:Keyword Index="A" Term="T:mcopy.Program" />
      <MSHelp:Keyword Index="A" Term="frlrfmcopyProgramClassTopic" />
      <MSHelp:Keyword Index="A" Term="frlrfmcopyProgramMembersTopic" />
      <MSHelp:Keyword Index="K" Term="Program class" />
      <MSHelp:Keyword Index="K" Term="mcopy.Program class" />
      <MSHelp:Keyword Index="F" Term="Program" />
      <MSHelp:Keyword Index="F" Term="mcopy.Program" />
      <MSHelp:Attr Name="TopicType" Value="apiref" />
      <MSHelp:Attr Name="TopicType" Value="kbSyntax" />
      <MSHelp:Attr Name="APIType" Value="Managed" />
      <MSHelp:Attr Name="APILocation" Value="mcopy.dll" />
      <MSHelp:Attr Name="APIName" Value="mcopy.Program" />
      <MSHelp:Attr Name="Locale" Value="en-us" />
    </xml>
  </head>
  <body>
    <div id="control">
      <span class="productTitle">A Sandcastle Documented MCOPY program</span>
      <br />
      <span class="topicTitle">Program Class</span>
      <br />
      <div id="toolbar">
        <span id="chickenFeet">
          <mshelp:link keywords="R:Project" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">mcopy</mshelp:link> ► <mshelp:link keywords="N:mcopy" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">mcopy</mshelp:link> ► <span class="selflink">Program</span></span>
        <span id="languageFilter">
          <select id="languageSelector" onchange="var names = this.value.split(' '); toggleVisibleLanguage(names[1]); lfc.switchLanguage(names[0]); store.set('lang',this.value); store.save();" style="visibility: hidden;">
            <option value="CSharp cs">C#</option>
          </select>
        </span>
      </div>
    </div>
    <div id="main">
      <span style="color: DarkGray">documentation ver. 1.0.0.6 <p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[This is preliminary documentation and is subject to change.]</p></span>
      <div class="summary">
            Main class program
            <br />
            example use: <br />
            (bellow copy all files and save longFile to file log) <br />
            mcopy.exe "\\serwer\sourceFolder" "c:\destinationFolder" c:\log.txt m <br />
            or <br />
            (bellow copy all files and save longFile to file log and save all copy operates to file log too) <br />
            mcopy.exe "\\serwer\sourceFolder" "c:\destinationFolder" c:\log.txt m &gt; "c:\resultCopy.txt" <br />
            ATTENTION: first argument must be shared folder (requred to copy long files)
            </div>
      <div class="section">
        <div class="sectionTitle" onclick="toggleSection(this.parentNode)">
          <img src="../icons/collapse_all.gif" /> Declaration Syntax</div>
        <div class="sectionContent">
          <div id="syntaxSection">
            <table class="filter">
              <tr class="tabs" id="syntaxTabs">
                <td class="tab" x-lang="CSharp" onclick="toggleClass('syntaxTabs','x-lang','CSharp','activeTab','tab'); toggleStyle('syntaxBlocks','x-lang','CSharp','display','block','none');">C#</td>
              </tr>
            </table>
            <div id="syntaxBlocks">
              <div class="code" x-lang="CSharp">
                <pre>
                  <span class="keyword">public</span> <span class="keyword">class</span> <span class="identifier">Program</span></pre>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="section">
        <div class="sectionTitle" onclick="toggleSection(this.parentNode)">
          <img src="../icons/collapse_all.gif" /> Members</div>
        <div class="sectionContent">
          <div id="allMembersSection">
            <table class="filter">
              <tr class="tabs" id="memberTabs">
                <td class="tab" value="all" onclick="toggleClass('memberTabs','value','all','activeTab','tab'); processSubgroup('all', 'member'); processList('memberList','filterElement','member');">All Members</td>
                <td class="tab" value="constructor" onclick="toggleClass('memberTabs','value','constructor','activeTab','tab'); processSubgroup('constructor','member');processList('memberList','filterElement','member');">Constructors</td>
                <td class="tab" value="method" onclick="toggleClass('memberTabs','value','method','activeTab','tab'); processSubgroup('method','member'); processList('memberList','filterElement','member');">Methods</td>
                <td class="tab" value="field" onclick="toggleClass('memberTabs','value','field','activeTab','tab'); processSubgroup('field','member'); processList('memberList','filterElement','member');">Fields</td>
              </tr>
              <tr>
                <td class="line" colspan="2">
                  <label for="public">
                    <input id="public" type="checkbox" checked="true" onclick="toggleCheckState('public',this.checked); processList('memberList','filterElement','member');" />Public</label>
                  <br />
                  <label for="protected">
                    <input id="protected" type="checkbox" checked="true" onclick="toggleCheckState('protected',this.checked); processList('memberList','filterElement','member');" />Protected</label>
                </td>
                <td class="line" colspan="2">
                  <label for="instance">
                    <input id="instance" type="checkbox" checked="true" onclick="toggleCheckState('instance',this.checked); processList('memberList','filterElement','member');" />Instance</label>
                  <br />
                  <label for="static">
                    <input id="static" type="checkbox" checked="true" onclick="toggleCheckState('static',this.checked); processList('memberList','filterElement','member');" />Static</label>
                </td>
                <td class="line" colspan="2">
                  <label for="declared">
                    <input id="declared" type="checkbox" checked="true" onclick="toggleCheckState('declared',this.checked); processList('memberList','filterElement','member');" />Declared</label>
                  <br />
                  <label for="inherited">
                    <input id="inherited" type="checkbox" checked="true" onclick="toggleCheckState('inherited',this.checked); processList('memberList','filterElement','member');" />Inherited</label>
                </td>
              </tr>
            </table>
            <table class="members" id="memberList">
              <tr>
                <th class="iconColumn">Icon</th>
                <th class="nameColumn">Member</th>
                <th class="descriptionColumn">Description</th>
              </tr>
              <tr data="constructor; public; static; declared">
                <td>
                  <img src="../icons/privmethod.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.#cctor" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">Program<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></mshelp:link>
                </td>
                <td>
                  <br />
                </td>
              </tr>
              <tr data="constructor; public; instance; declared">
                <td>
                  <img src="../icons/pubmethod.gif" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.#ctor" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">Program<span class="languageSpecificText"><span class="cs">()</span><span class="cpp">()</span><span class="nu">()</span></span></mshelp:link>
                </td>
                <td>
                  <div class="summary">Initializes a new instance of the <span class="selflink">Program</span> class</div>
                  <br />
                </td>
              </tr>
              <tr data="method; public; static; declared">
                <td>
                  <img src="../icons/privmethod.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.AddNetwordDrive(System.String,System.String)" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">AddNetwordDrive(String, String)</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            function adding network mapping drive
            </div>
                  <br />
                </td>
              </tr>
              <tr data="field; public; static; declared">
                <td>
                  <img src="../icons/privfield.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="F:mcopy.Program.chooseTempNetDrive" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">chooseTempNetDrive</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            temporary letter drive to copy long names
            </div>
                  <br />
                </td>
              </tr>
              <tr data="method; public; static; declared">
                <td>
                  <img src="../icons/privmethod.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.CopyDirectory(System.IO.DirectoryInfo,System.IO.DirectoryInfo,System.String)" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">CopyDirectory(DirectoryInfo, DirectoryInfo, String)</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            CopyDirectory
            </div>
                  <br />
                </td>
              </tr>
              <tr data="field; public; static; declared">
                <td>
                  <img src="../icons/privfield.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="F:mcopy.Program.folderDestinationRoot" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">folderDestinationRoot</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            path to folder where save file with long fullPathes
            </div>
                  <br />
                </td>
              </tr>
              <tr data="field; public; static; declared">
                <td>
                  <img src="../icons/privfield.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="F:mcopy.Program.folderSourceRoot" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">folderSourceRoot</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            path to folder where save source folder
            </div>
                  <br />
                </td>
              </tr>
              <tr data="method; public; static; declared">
                <td>
                  <img src="../icons/privmethod.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.Main(System.String[])" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">Main(<span class="languageSpecificText"><span class="cpp">array&lt;</span></span>String<span class="languageSpecificText"><span class="cpp">&gt;</span><span class="cs">[]</span><span class="vb">()</span><span class="nu">[]</span></span>)</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            Main program
            </div>
                  <br />
                </td>
              </tr>
              <tr data="method; public; static; declared">
                <td>
                  <img src="../icons/privmethod.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.RemoveNetworkDrive(System.String)" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">RemoveNetworkDrive(String)</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            function remove network temporary letterdrive
            </div>
                  <br />
                </td>
              </tr>
              <tr data="method; public; static; declared">
                <td>
                  <img src="../icons/privmethod.gif" />
                  <img src="../icons/static.gif" title="static member" />
                </td>
                <td>
                  <mshelp:link keywords="M:mcopy.Program.SaveToLog(System.String,System.String)" tabindex="0" xmlns:mshelp="http://msdn.microsoft.com/mshelp">SaveToLog(String, String)</mshelp:link>
                </td>
                <td>
                  <div class="summary">
            SaveToLog
            </div>
                  <br />
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="section">
        <div class="sectionTitle" onclick="toggleSection(this.parentNode)">
          <img src="../icons/collapse_all.gif" /> Inheritance Hierarchy</div>
        <div class="sectionContent">
          <table cellspacing="0" cellpadding="0">
            <tr>
              <td colspan="2">
                <a href="http://msdn2.microsoft.com/en-us/library/e5kfa45b" target="_blank">Object</a>
              </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/LastChild.gif" />
              </td>
              <td>
                <span class="selflink">Program</span>
              </td>
            </tr>
          </table>
        </div>
      </div>
      <p>
        <div id="footer">documentation ver. 1.0.0.6<p />Send comments on this topic to
        <a id="HT_MailLink" href="mailto:marek.otulakowski%40gmail.com?Subject=A Sandcastle Documented MCOPY program">marek.otulakowski@gmail.com</a>
        <script type="text/javascript">
        var HT_mailLink = document.getElementById("HT_MailLink");
        var HT_mailLinkText = HT_mailLink.innerHTML;
        HT_mailLink.href += ": " + document.title;
        HT_mailLink.innerHTML = HT_mailLinkText;
        </script> <p /><a href="http://mcopy.codeplex.com" target="_blank">mcopy</a></div>Assembly: <span sdata="assembly">mcopy</span> (Module: mcopy) Version: 1.0.0.6 (1.0.0.6)</p>
    </div>
  </body>
</html>